Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom field to validate crucible review Id linked to any jira issue

Alok kumar Singh
Contributor
April 12, 2012

I want to have a custom field in jira to validate the crucible review Id linked to any jira issue......do I need to create a plugin....or can be implemented simply by creating a custom field......plz reply

10 answers

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2012

You can use the REST API to validate the details and get the associated JIRA Issue.

http://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html#d2e503

Alok kumar Singh
Contributor
April 24, 2012

sir can u plaese give any sample example as how to use the Crucible REST API in my Jira plugin....do I need to write a full-fledged Rest Service to achieve this......

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2012

Isn't it a bit illogical trying to use Crucible Api inside Jira plugin? Are you not able to use Crucible REST services in your plugin to check the validity?

0 votes
Alok kumar Singh
Contributor
April 18, 2012

i have started the plugin development, but the problem is I am not able to use Crucible API's in jira plugin development(ReviewService interface)...as my requirement is to validate the crucible review id whether it is linked to a particular issue or not......

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012
0 votes
Alok kumar Singh
Contributor
April 12, 2012

No i want to have a custom field to validate a review Id....so do I need to write a plugin....if so...from where shd i start.....like which API I should use....plz help....

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012

I am still confused. If you are seeing an issue in Jira, the Review tab already shows all the linked Review Ids. Why do you need another custom field to do this job?

0 votes
Alok kumar Singh
Contributor
April 12, 2012

No actually my manager wants a scenario like this....If I select an issue from the planning board, after that there should be a custom field where if I put the review Id it should validate whether that particular issue is linked or not to the given review Id....

0 votes
Alok kumar Singh
Contributor
April 12, 2012

like i want to create a custom field which i can associtae with the workflow of jira issue.....and if one put the review id, it should validate if this review id relates to the particular issue.....I shd tell u I am a newbie....:-)

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012

Then you need write a plugin to do this validation. But again, I would like to ask, what is that you want to achieve? As Jira already supports preventing of closing of issues if a Crucible review is open for the linked review.

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012

What kind of validation are you looking for?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events