falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1692) Update fix versions of JIRAs
Date Wed, 30 Dec 2015 11:30:49 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074954#comment-15074954
] 

Pallavi Rao commented on FALCON-1692:
-------------------------------------

Wrote a simple script to verify all JIRAs in CHANGES.txt have a fix version of 0.9

{code}
# Extract JIRAs checked into trunk
head -150 CHANGES.txt | grep FALCON | grep -v 0.8 | awk '{print $1}'>tmp
#Get Session ID for logging into JIRA
curl -D- -u pallavi.rao -X GET -H "Content-Type: application/json" https://issues.apache.org/jira/rest/api/2/auth/session
# Extract issue and its fix version into a file
cat tmp | while read line; do curl --cookie JSESSIONID=<sessionid> -X GET -H "Content-Type:
application/json" "https://issues.apache.org/jira/rest/api/2/issue/$line?fields=fixVersions"
>> issues; done;
# Check with JIRAs don't have 0.9 as its version
cat issues | grep -v "0.9"
{code}

Since the list was small didn't add a command to update JIRA with fix version.

> Update fix versions of JIRAs
> ----------------------------
>
>                 Key: FALCON-1692
>                 URL: https://issues.apache.org/jira/browse/FALCON-1692
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: Pallavi Rao
>            Assignee: Pallavi Rao
>             Fix For: 0.9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message